package cn.kxm.dao;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.kxm.pojo.OfferPriceBill;


public interface OfferPriceBillMapper {
	public OfferPriceBill getOfferPriceBill(@Param("code")String code);
	
	public List<OfferPriceBill> getAllByCondition(@Param("code")String code,@Param("startTime")Date startTime,@Param("endTime")Date endTime,@Param("customName")String customName,@Param("offset")int offset,@Param("size")int size);
	
	public int getCountByCondition(@Param("code")String code,@Param("startTime")Date startTime,@Param("endTime")Date endTime,@Param("customName")String customName);
	
	public int insertOfferPriceBill(@Param("offerPriceBill")OfferPriceBill offerPriceBill);
	
	public int deleteOfferPriceBill(@Param("code")String code);
	
	public int updateOfferPriceBill(@Param("offerPriceBill")OfferPriceBill offerPriceBill);
	
	public int audit(@Param("code")String code);
	
	public int revoke(@Param("code")String code);
}
